package duaxe.home.entity.mob.Spawner;

import duaxe.home.entity.Spawner;
import duaxe.home.entity.particle.Particle;
import duaxe.home.level.Level;

public class PariticleSpawner extends Spawner {
	private int life;
	public PariticleSpawner(int x, int y,int life, int amount, Level level) {
		super(x, y, Type.PARTICLE, amount, level);
		this.life = life;
		for(int i=0; i< amount; i++){
			level.add(new PariticleSpawner(x, y, life, 10, level));
			}
		}
	
	}
